package util

import (
	"fmt"
	"math/rand"
	"time"
)

func init() {
	rand.Seed(time.Now().UnixNano())
}

func UUID() string {
	var uid string = ""
	for i := 0; i < 10; i++ {
		n := rand.Intn(9)
		uid += fmt.Sprintf("%d", n)
	}
	return uid
}
